package com.coding.dao;

import com.coding.pojo.MainPlace;

import java.util.List;

public interface MainPlaceDao {
    int deleteByPrimaryKey(Integer main_id);

    int insert(MainPlace record);

    int insertSelective(MainPlace record);

    List<MainPlace> searchMainPlace(String main_name);

    MainPlace selectByPrimaryKey(Integer main_id);

    MainPlace selectSingle(int main_id);

    List<MainPlace> queryAll(MainPlace mainPlace);

    List<MainPlace> queryAllWithMain(MainPlace mainPlace);

    int updateByPrimaryKeySelective(MainPlace record);

    int updateByPrimaryKey(MainPlace record);
}